package com.dpmc.entity;

import javax.persistence.Column;
import javax.persistence.Entity; 
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;

import com.core.entity.AbstractEntity; 

/**
 *   实体类 - 商户管理——商户附件
 */
@Entity 
@Table( 
		uniqueConstraints = {
			@UniqueConstraint(columnNames = {"SHID","FJLXID","LINK_TYPE","LINK_ID", "XH"})
		}	
	)
public class TB_SHGL_SHFJ extends AbstractEntity {
	private static final long serialVersionUID = 1L; 
	
	/** 附件定义ID  ,TB_SHGL_FJLX.ID**/
	@Column(length=32  )
	private String FJLXID;  
	/** 序号 **/
	private int XH;  
	/** 商户ID**/
	@Column(length=32  )
	private String SHID;  
	/** 文件ID **/
	@Column(length=32  )
	private String FILE_ID;  
	/** 文件名 **/
	@Column(length=100  )
	private String FILE_NAME;
	/**文件大小**/ 
	private Long FILE_SIZE;
	/** 关联对象类型  **/
	@Column(length=32 )
	private String LINK_TYPE;
	/** 关联对象ID  **/
	@Column(length=32 )
	private String LINK_ID; 
	/** 文件路径 **/
	@Column(length=100  )
	private String FILE_PATH; 
	/** 附件说明 **/
	@Column(length=100  )
	private String FJSM;
	
	public String getFJLXID() {
		return FJLXID;
	}
	public void setFJLXID(String fJLXID) {
		FJLXID = fJLXID;
	}
	public int getXH() {
		return XH;
	}
	public void setXH(int xH) {
		XH = xH;
	}
	public String getSHID() {
		return SHID;
	}
	public void setSHID(String sHID) {
		SHID = sHID;
	}
	public String getFILE_ID() {
		return FILE_ID;
	}
	public void setFILE_ID(String fILE_ID) {
		FILE_ID = fILE_ID;
	}
	public String getFILE_NAME() {
		return FILE_NAME;
	}
	public void setFILE_NAME(String fILE_NAME) {
		FILE_NAME = fILE_NAME;
	}
	public Long getFILE_SIZE() {
		return FILE_SIZE;
	}
	public void setFILE_SIZE(Long fILE_SIZE) {
		FILE_SIZE = fILE_SIZE;
	}
	public String getLINK_TYPE() {
		return LINK_TYPE;
	}
	public void setLINK_TYPE(String lINK_TYPE) {
		LINK_TYPE = lINK_TYPE;
	}
	public String getLINK_ID() {
		return LINK_ID;
	}
	public void setLINK_ID(String lINK_ID) {
		LINK_ID = lINK_ID;
	}
	public String getFILE_PATH() {
		return FILE_PATH;
	}
	public void setFILE_PATH(String fILE_PATH) {
		FILE_PATH = fILE_PATH;
	}
	public String getFJSM() {
		return FJSM;
	}
	public void setFJSM(String fJSM) {
		FJSM = fJSM;
	}  
 
}
